﻿@model List<ZhongheCms.Models.GswViewTblProInfo>
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="row">
    <div class="col-xs-12 padding-0">
        <div class="widget-box">
            <div class=" widget-header widget-header-flat" style="padding-left: 0px">
               @* <a href="/ProPic/Create/0?m=@ViewBag.m&f=@ViewBag.f&p=@ViewBag.p&fid=@ViewBag.fid"><span class="btn btn-small btn-info no-border">
                    <i class="fa fa-plus-circle bigger-130"></i>&nbsp;<span class="bigger-110">新增</span><span class="bigger-110">@ViewBag.f</span></span>
                </a>*@
                <div class="widget-toolbar">
                    <form name="thisform" method="post" class="form-search" action="/ProPic/Index/0?m=@ViewBag.m&f=@ViewBag.f&p=@ViewBag.p&fid=@ViewBag.fid">
                        <label>
                            
                            <input type="text" name="keywords" id="keywords" placeholder="关键字" value="@ViewBag.keywords" class="search-input"  autocomplete="off">
                        </label>
                        
															
                        <label>
                            <button type="submit" class="btn btn-xs btn-toolbar pull-right">
                                &nbsp;&nbsp; <i class="fa fa-search"></i><span class="bigger-110">搜索</span> &nbsp;&nbsp;
                            </button>
                        </label>
                    </form>
                </div>

            </div>
            <div class="widget-body">
                <div class="widget-main padding-2">

                    <table class="table table-striped table-bordered table-hover">
                        <tr>
                           
                            <th>类别
                            </th>
                            <th>编号
                            </th>
                            
                            <th>名称
                            </th>

                           
                            <th class="center">图片管理
                            </th>
                        </tr>
                        <tbody>
                            @foreach (var item in Model)
                            {
			 
                                <tr>
                                    

                                    
                                    <td>
                                        @item.MasterType
                                        @if (!string.IsNullOrEmpty(item.SubType))
                                        {
                                            <span>--</span>@item.SubType
                                        }
                                    </td>
                                    <td>
                                        @item.ProNo
                                    </td>
                                    <td>
                                        @item.ProName
                                       
                                    </td>
                                    

                                    
                                    <td class="center">
                                         <a href="/ProPic/Create/@item.Id?m=@ViewBag.m&f=@ViewBag.f&p=@ViewBag.p&fid=@ViewBag.fid&keywords=@ViewBag.keywords"><span class="btn btn-xs btn-info no-border">
                                            <i class="fa fa-pencil-square-o"></i></span></a>
                                    </td>
                                </tr>
                                       
                            }
                        </tbody>
                    </table>

                </div>
            </div>
        </div>
    </div>
</div>

